graph theory:incidence matrix